package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcCsunSleepState;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2020-06-08 14:00
 * @Description:
 */
public interface DmcCsunSleepStateService extends IService<DmcCsunSleepState> {

    /**
     * 设置床垫是否采集数据
     *
     * @param deviceId  the device id
     * @param state     the state 0-停止 1-开始
     *
     * @return  the int.
     */
    Integer sendDataMsg(Long deviceId, String state);
}
